home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 11 / FM Towns Free Software Collection 11.iso / t_os / tool / dolmorph / src / image.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-09  |  696 b   |  23 lines

  1. #ifndef HEADER_IMAGE
  2. #define    HEADER_IMAGE
  3.  
  4. typedef struct {
  5.     int        width,height;
  6.     char    *image;
  7.     int        virwid,virht;
  8. } IMAGE;
  9.  
  10. IMAGE    *image_new(int width, int height);
  11. void    image_delete(IMAGE *im);
  12. IMAGE    *image_copy(IMAGE *im);
  13. int image_loadTIFF(IMAGE *im, char *filename);
  14. int image_saveTIFF(IMAGE *im, char *filename);
  15. int image_createloadTIFF(IMAGE **ppi, char *filename);
  16. void image_zoomdown(IMAGE *dest, IMAGE *src);
  17. void image_zoomdownDark(IMAGE *dest, IMAGE *src, int bDark);
  18. void image_disp(IMAGE *im, int x, int y, int width, int height);
  19. void image_getDispSize(IMAGE *im,int maxwid,int maxht,int *wid,int *ht);
  20. void image_dumpout(IMAGE *im, char *filename);
  21.  
  22. #endif
  23.